export const cubes2: GameEntity[] = world.querySelectorAll('#正方体-1-1-1');

cubes2.forEach((cube: GameEntity) => {
    cube.onEntityContact(({ other }: GameEntityContactEvent) => {
        if (other.player) {
            other.position.copy(other.player.spawnPoint);
        }
    });
});
